import request from '@/utils/request'

// 短剧剧集列表
export function sourceLists(params?: Record<string, any>) {
    return request.get({ url: '/client/source/list', params })
}

// 短剧剧集详情
export function sourceDetail(params: Record<string, any>) {
    return request.get({ url: '/client/source/detail', params })
}

// 短剧剧集新增
export function sourceAdd(params: Record<string, any>) {
    return request.post({ url: '/client/source/add', params })
}

// 短剧剧集编辑
export function sourceEdit(params: Record<string, any>) {
    return request.post({ url: '/client/source/edit', params })
}

// 短剧剧集删除
export function sourceDelete(params: Record<string, any>) {
    return request.post({ url: '/client/source/del', params })
}


export function sourceAdDelivery(params: Record<string, any>) {
    return request.get({ url: '/client/source/ad_delivery', params })
}
